package com.yxw.bamboo.core.database;

import com.yxw.bamboo.core.SocketChannel;

import java.io.UnsupportedEncodingException;

public interface BytesConvert {
    byte[] findUserNameByte(byte[] des, SocketChannel channel);
    void getSqlDbAndUserName(byte[] userDbBytes,int hashcode, String[] sqlPWDPluginNames,SocketChannel channel) throws UnsupportedEncodingException;

    int getServerCapabilities(byte[] des) throws Exception;
 }
